/*
 * @Author: ShengXD <1519256482@qq.com>
 * @Date: 2024-11-06 11:47:46
 * @LastEditors: ShengXD <1519256482@qq.com>
 * @LastEditTime: 2024-11-11 10:31:49
 * @FilePath: /zonmind-om/apps/web-antd/src/router/routes/modules/system.ts
 * @Description:
 */
import type { RouteRecordRaw } from 'vue-router';

import { VBEN_LOGO_URL } from '@vben/constants';

import { BasicLayout } from '#/layouts';

const routes: RouteRecordRaw[] = [
  {
    component: BasicLayout,
    meta: {
      icon: 'heroicons:server-stack',
      activeIcon: 'heroicons:server-stack-solid',
      order: 1000,
      title: '系统',
    },
    name: 'System',
    path: '/system',
    children: [
      {
        meta: {
          title: '',
        },
        name: 'Setting',
        path: '/system/setting',
        children: [
          {
            name: 'Explanation',
            path: '/system/setting/explanation',
            component: () =>
              import('#/views/system/explanation/index.vue'),
            meta: {
              icon: '',
              title: '',
            },
          },
          {
            name: 'SubAccounts',
            path: '/system/setting/subaccounts',
            component: () =>
              import('#/views/system/subaccounts/index.vue'),
            meta: {
              icon: '',
              title: '',
            },
          },
          {
            name: 'Role',
            path: '/system/setting/role',
            component: () => import('#/views/system/role/index.vue'),
            meta: {
              icon: '',
              title: '',
            },
          },
        ],
      },
      {
        meta: {
          title: '',
        },
        name: 'Menu',
        path: '/system/menu',
        children: [
          {
            name: 'Explanation',
            path: '/system/menu/:id',
            component: () => import('#/views/system/menu/index.vue'),
            meta: {
              title: '',
            },
          },
        ],
      },
    ],
  },
];

export default routes;
